<template>
  <div>
    <h1>Hello<span v-if="show">Component A</span></h1>
    <button @click="toggleShow">切换</button>
  </div>
</template>

<script>
import { showMixin } from "../mixins/show";

export default {
  mixins: [showMixin]
};
</script>

<style></style>
